home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000047_icon-group-sender _Sat Feb 10 14:56:52 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 12 Feb 1996 10:36:19 MST
  2. To: icon-group@cs.arizona.edu
  3. Date: 10 Feb 1996 14:56:52 GMT
  4. From: mustard@interlog.com
  5. Message-Id: <4fibnk$8dh@steel.interlog.com>
  6. Organization: InterLog Internet Services
  7. Sender: icon-group-request@cs.arizona.edu
  8. References: <slrn4gnrln.dpt.rahardj@phad.cc.umanitoba.ca>, <4eruho$aj0@steel.interlog.com>, <slrn4he12i.83q.rahardj@antares.cc.umanitoba.ca>
  9. Reply-To: mustard@interlog.com
  10. Subject: Re: processing utmp and/or wtmp with icon
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12. Status: O
  13.  
  14. In <slrn4he12i.83q.rahardj@antares.cc.umanitoba.ca>, rahardj@cc.umanitoba.ca (Budi Rahardjo) writes:
  15. >mustard@interlog.com wrote:
  16. >....
  17. >: "fwtmp" and "who -a"
  18. >
  19. >Is this portable.
  20.  
  21. Not really, but those systems with wtmp _usually_ have a "fwtmp" with
  22. fairly constant output format, depending on what fields you need.
  23.  
  24. >
  25. >....
  26. >>>Actually, I have written this in perl but wanted to make it an executable.
  27. >>
  28. >>What's an "executable"? 
  29. >
  30. >I mean binary executable file, not a script.
  31.  
  32. >Somebody pointed out "sac". It does the job. So I am using it now.
  33.  
  34. I'm not familiar with "sac" can you send me a pointer?
  35.  
  36. >
  37. >>Icon works but best on a text, not binary, (IMHO) file.  But either perl
  38. >>or icon implies shipping extra stuff with your code that _may_ make
  39. >>support or portability more difficult.
  40. >
  41.  
  42. >Actually, perl is portable. (I even work with perl on my 286. Yes, 286)
  43.  
  44. Perl itself is very portable (congrats to the developers) but since it
  45. subsumes many OS features those features may or may not be there
  46. (sockets are the current bain of my life).  But in this context (wtmp)
  47. we can assume most of the *ix OS features.  If you are trying to
  48. hide your code, perl 5 offers encrypted source tools (and compression)
  49. that may do the trick with less effort than porting to a new language.
  50.  
  51. >
  52. >-- budi
  53. >-- 
  54. Bill Mustard        (mustard@interlog.com)
  55.